package com.testing.mysql;

import java.io.IOException;
import java.util.Properties;

public class PropertiesTest {
    public static void main(String[] args) throws IOException {
        Properties royp=new Properties();
        royp.load(PropertiesTest.class.getResourceAsStream("/vip07db.properties"));
        String driver=royp.getProperty("driverClass");
        String url=royp.getProperty("jdbcUrl");
        String user=royp.getProperty("mysqlu");
        String pwd=royp.getProperty("mysqlp");

        System.out.println(driver+url+user+pwd);
    }
}
